package com.xinghen.common.zookeeper.generator;

/**
 * @author xinghen
 * @ClassName: IdGenerator
 * @Package: com.xinghen.common.zookeeper.generator
 * @Description ID生成器接口
 * @create 2018-04-12 10:39
 */
public interface IdGenerator {

    /**
     * 生成ID
     *
     * @return
     */
    Long nextId();

}
